package com.eagle.coders.core.exceptions;

/**
 * 
 * @author Anees
 *
 */
public class MaximumValueException extends ValidationException {
	private static final long serialVersionUID = 1L;
	private Double maximumValue;

    public MaximumValueException() {
    }

    public MaximumValueException(String msg) {
        super(msg);
    }

    public MaximumValueException(Throwable cause) {
        super(cause);
    }

    public MaximumValueException(String msg, Throwable cause) {
        super(msg, cause);
    }

    public MaximumValueException(String msg, String property) {
        super(msg, property);
    }

    //----------------------------------------------------------------

    public MaximumValueException(String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object errorData, Object[] msgArgs) {
        super(errorMessageLocation, messageKey, errorCode, module, subModule, errorData, msgArgs);
    }

    public MaximumValueException(String msg, String errorMessageLocation, String errorCode, String module, String subModule, Object[] msgArgs) {
        super(msg, errorMessageLocation, errorCode, module, subModule, msgArgs);
    }

    public MaximumValueException(String msg, String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object errorData, Object[] msgArgs) {
        super(msg, errorMessageLocation, messageKey, errorCode, module, subModule, errorData, msgArgs);
    }

    public MaximumValueException(String msg, String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object[] msgArgs) {
        super(msg, errorMessageLocation, messageKey, errorCode, module, subModule, msgArgs);
    }

    public MaximumValueException(String msg, Throwable cause, String errorMessageLocation, String errorCode, String module, String subModule, Object[] msgArgs) {
        super(msg, cause, errorMessageLocation, errorCode, module, subModule, msgArgs);
    }

    public MaximumValueException(String msg, Throwable cause, String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object errorData, Object[] msgArgs) {
        super(msg, cause, errorMessageLocation, messageKey, errorCode, module, subModule, errorData,
                msgArgs);
    }

    public MaximumValueException(String msg, Throwable cause, String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object[] msgArgs) {
        super(msg, cause, errorMessageLocation, messageKey, errorCode, module, subModule, msgArgs);
    }

    public MaximumValueException(Throwable cause, String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object errorData, Object[] msgArgs) {
        super(cause, errorMessageLocation, messageKey, errorCode, module, subModule, errorData, msgArgs);
    }

    public MaximumValueException(Throwable cause, String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object[] msgArgs) {
        super(cause, errorMessageLocation, messageKey, errorCode, module, subModule, msgArgs);
    }
    
    public MaximumValueException(String msg, String property, Double maximumValue) {
        super(msg, property);
        this.maximumValue = maximumValue;
    }

    public Double getMaximumValue() {
        return maximumValue;
    }

    public void setMaximumValue(Double maximumValue) {
        this.maximumValue = maximumValue;
    }
}
